package cn.lan.scau_hotel_service.service;

import cn.lan.scau_hotel_service.entity.Order;
import cn.lan.scau_hotel_service.entity.User;

import java.util.List;

public interface UserService {

    User getUserById(int id);

    User getUserByOpenId(String openid);

    boolean saveUser(User user);

    boolean deleteUserById(int id);

    boolean deleteUserByOpenid(String openid);

//    boolean deleteUser(int  id);

    List<User> getOrders();



}
